<%-- 
    Document   : index
    Created on : 15-ago-2012, 1:06:48
    Author     : Edu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="style.css" rel="stylesheet" type="text/css" />
        <title>JSP Page</title>
		
		</head>
		<body>
		<div id="frame">

				<div id="headcontainer">
				  <div id="leftcontainer">
								<div id="logo"><a href="index.jsp"><img src="images/sucar03.jpg" alt="" title="" width="267" height="40" /></a></div>
				  </div>
						<div id="rightcontainer">
								<div id="searchcontainer">
										<div id="sleft"><img src="images/searchbgleft.jpg" alt="" /> </div>
										<div id="smiddle">
										  <div id="search">Search:</div>
												<div id="sbox">
                                                  <form id="form1" name="form1" method="post" action="">
                                                    <input type="text" name="textfield"  style="width:100px; height:15px; border:1px solid #B2B2B1;" />
                                                  </form>
											    </div>
												<div id="sbutton">
												  <label>
												  <input type="image" name="imageField" src="images/searchbutton.jpg" title="Go" />
												  </label>
												</div>
										</div>
										<div id="sright"><img src="images/searchbgright.jpg" alt="" /></div>
								</div>
				  </div>
				<br class="spacer" />
				</div>
	
    
	<div id="banner">
	  <div id="bleft"  > 
						<div id="bright"  >
						  <div id="brcategory" >
											<div id="category" align="center" ><a href="Admin.jsp" class="ctxt" title="sub">Sub Menu</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
													  <a href="nuevo usuario.jsp" class="ctxt" title="apple">Nuevo Usuario</a></div>
		  <div class="categorynav" >
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="eliminar usuario.jsp" class="ctxt" title="apricot">Eliminar Usuario</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="modificar usuario.jsp" class="ctxt" title="banana">Modificar Usuario</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="cliente industrial.jsp" class="ctxt" title="cherries">Cliente Industrial</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="modificar cliente distribuidor.jsp" class="ctxt" title="grape">Modf. Client Dist.</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="cliente potencial.jsp" class="ctxt" title="papaya">Cliente Potencial</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="modificar cliente potencial.jsp" class="ctxt" title="pear">Modf. Cliente Pote.</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="seguimiento potencial.jsp" class="ctxt" title="raspberry">Nuevo Seguimiento</a></div>
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="nueva queja.jsp" class="ctxt" title="watermelon">Quejas</a></div>
													
													<div class="categorynav">
															<div class="cbullet">
																	<div class="bullet"><img src="images/bullet1.jpg" alt="" /></div>
															</div>
															<a href="cliente distribuidor.jsp" class="ctxt" title="watermelon">Cliente distribuidor</a></div>
													
													<div id="cmore"><a href="construccion.jsp" class="ctxt" title="more">...more</a></div>
																
						  </div>
						</div>
		<div id="centers"><table width="592" border="0">
  							<tr>
    						<th width="582" scope="row">Seguimiento a Quejas  </th>
						  </tr>
									</table>

						  <table width="593" border="0">
                            <tr>
                              <th width="129" scope="row">&nbsp;</th>
                              <td width="230">&nbsp;</td>
                              <td width="220">&nbsp;</td>
                            </tr>
                            <tr>
                              <th scope="row"align="right">Codigo:</th>
                              <td><input type="text" name="txt12" size=30></td>
                              <td><input type="button" name="btnbuscar" value="Buscar" onclick="location.href = 'construccion.jsp'"></td>
                            </tr>
							<tr>
                              <th width="129" scope="row"align="right">&nbsp;</th>
                              <td width="230">&nbsp;</td>
                              <td width="220">&nbsp;</td>
							</tr>
                            <tr>
                              <th scope="row"align="right">Fecha de la queja : </th>
                              <td><SCRIPT LANGUAGE="JavaScript">
<!-- Mas scripts en http://www.creatupropiaweb.com -->
<!-- Begin
var now = new Date();
var month_array = new Array("january","february","march","April","May","June","July","August","September","October","November","December");
document.write("<form name=date_list><table bgcolor=silver><tr><td>");
document.write("<select name=month onchange=change_month(this.options.selectedIndex)>");
for(i=0;i<month_array.length;i++)
{
 if (now.getMonth() != i)
 {document.write ("<option value="+i+">"+month_array[i]);}
 else
 {document.write ("<option value="+i+" selected>"+month_array[i]);}

}
document.write("</select>");
document.write("</td><td>");
document.write ("<select name=year onchange=change_year(this.options[this.options.selectedIndex])>");
for(i=1990;i<2013;i++)
{
 if (now.getYear() != i)
 {document.write("<option value="+i+">"+i);}
 else
 {document.write("<option value="+i+" selected>"+i);}
}
document.write("</select></td></tr><tr><td colspan=2><center>");

document.write("<table bgcolor=white border=0 cellspacing = 0 cellpading = 0 width=100%><tr bgcolor=gray align=center>");
document.write("<td><font color=silver>M</font></td><td><font color=silver>T</td><td><font color=silver>W</td><td><font color=silver>T</td><td><font color=silver>F</td><td ><font color=silver>S</td><td ><font color=silver>S</td>");
document.write("</tr><tr>");
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
   document.write("<td align=center id=d"+i+"r"+j+"></td>")
 }
 document.write("</tr>");
}

document.write("</table>");

document.write("</center></from></td></tr></table>");

var show_date = new Date();

function set_cal(show_date)
{
begin_day = new Date (show_date.getYear(),show_date.getMonth(),1);
begin_day_date = begin_day.getDay();
end_day = new Date (show_date.getYear(),show_date.getMonth()+1,1);
count_day = (end_day - begin_day)/1000/60/60/24;
input_table(begin_day_date,count_day);
}
set_cal(show_date);

function input_table(begin,count)
{
init();
j=0;
if (begin!=0){i=begin-1;}else{i=6}
for (c=1;c<count+1;c++)
{
 colum_name = eval("d"+i+"r"+j);
 if ((now.getDate() == c)&&(show_date.getMonth() == now.getMonth())&&(show_date.getYear() == now.getYear())) {colum_name.style.backgroundColor = "blue";colum_name.style.color = "white";};
 colum_name.innerText =  c;
 i++;
 if (i==7){i=0;j++;}
}
}

function init()
{
for(j=0;j<6;j++)
{
 for(i=0;i<7;i++)
 {
 colum_name = eval("d"+i+"r"+j);
 colum_name.innerText =  "-";
 colum_name.style.backgroundColor ="";
 colum_name.style.color ="";
 }
}
}

function change_month(sel_month)
{
show_date = new Date(show_date.getYear(),sel_month,1);
set_cal(show_date);
}

function change_year(sel_year)
{
sel_year = sel_year.value;
show_date = new Date(sel_year,show_date.getMonth(),1);
set_cal(show_date);
}
//  End -->
</script>
</td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <th scope="row"align="right">&nbsp;</th>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <th scope="row"align="right"> Encargado: </th>
                              <td><input type="text" name="txt3" size=30></td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <th scope="row"align="right"> Descripcion:</th>
                              <td><input type="text" name="txt4" size=30></td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <th scope="row"align="right">&nbsp;</th>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
							<tr>
                <th scope="row"align="center"><input type="button" name="btnaceptar" value="Aceptar" onclick="location.href = 'construccion.jsp'"></th>
                              <td align="center"><input type="button"  name="btncancelar" value="Cancelar" onclick="location.href = 'construccion.jsp'"></td>
                              <td align="center"><input type="button" name="btnreporte" value="Reportes" onclick="location.href = 'construccion.jsp'"></td>
                            </tr>
							<tr>
                              <th scope="row"align="right">&nbsp;</th>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
							
                          </table>
						  
		</div>
		 		 
	  </div>
				 
				 
		  </div>
				
				<div class="blank"></div>
				<div id="bodycontainer"><br class="spacer" />
  </div>
  <div class="blank"></div>
  <div id="footercontainercenter">
  		<div id="fooertleft">
				
	</div>
		<div id="footeright">
			<div id="frtop">
					<div id="fooertxt"><span class="fnav">Home</span> &nbsp;| &nbsp;  <a href="#" class="fnav" title="About Us">About Us</a> &nbsp;| &nbsp; <a href="#" class="fnav" title="Services">Services</a> &nbsp;| &nbsp; <a href="#" class="fnav" title="Food gallery">Food gallery</a>&nbsp; |&nbsp;  <a href="#" class="fnav" title="Pricing &amp; Ordering">Pricing &amp; Ordering</a> &nbsp; | &nbsp;  <a href="#" class="fnav" title="Delivery &amp; Shipping">Delivery &amp; Shipping</a>  &nbsp;| &nbsp; <a href="#" class="fnav" title="Contacts">Contacts</a></div>
			</div>
			<div>
					<div class="copyrighttxt" id="copyright">Copyright &copy; 2006. All rights reserved.<br />
					Designed by <a href="http://www.free-css-templates.com/">Free CSS Templates</a>, Thanks to <a href="http://www.openwebdesign.org/">Web Design UK</a></div>
			        <div id="cardcontainer">
						  
			  </div>					
			</div>
			<div></div>
		</div>
	<br class="spacer" />	
  </div>

</div>
	
	</body>
</html>
